package com.szsh.aiot.hsm.dto.ehoHome;

import org.influxdb.annotation.Column;
import org.influxdb.annotation.Measurement;

import java.util.Date;

@Measurement(name = "camera_access")
public class ECameraAccessInfo {
    /** 设备型号 */
    @Column(name = "devicetype")
    private String devicetype;
    /** 客户端标识：1、Android 2、iOS */
    @Column(name = "clienttype")
    private int clienttype;
    /** 厂商 */
    @Column(name = "firm")
    private String firm;
    /** 访问行为， 1.直播监测    2.云回看监测 */
    @Column(name = "type")
    private int type;
    /** 手机号码哈希值 */
    @Column(name = "hashPhone", tag = true)
    private String hashPhone;
    /** 手机号码 */
    @Column(name = "phone")
    private String phone;
    /** 播放请求ID */
    @Column(name = "playid")
    private String playid;
    /** 客户端版本类型 */
    @Column(name = "version")
    private String version;
    /** 用户手机公网IP ,Ip4v或ipv6 */
    @Column(name = "ip")
    private String ip;
    /** 结束时间 */
    private Date endtime;
    /** 开始时间 */
    private Date starttime;
    /** 用户类型（已解绑status=0、绑定status=1、分享status=2、无查询状态status=3） */
    @Column(name = "userType")
    private int userType;
    /** 设备编码 */
    @Column(name = "devicecode")
    private String devicecode;

    public String getDevicetype() {
        return devicetype;
    }

    public void setDevicetype(String devicetype) {
        this.devicetype = devicetype;
    }

    public int getClienttype() {
        return clienttype;
    }

    public void setClienttype(int clienttype) {
        this.clienttype = clienttype;
    }

    public String getFirm() {
        return firm;
    }

    public void setFirm(String firm) {
        this.firm = firm;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getHashPhone() {
        return hashPhone;
    }

    public void setHashPhone(String hashPhone) {
        this.hashPhone = hashPhone;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPlayid() {
        return playid;
    }

    public void setPlayid(String playid) {
        this.playid = playid;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public int getUserType() {
        return userType;
    }

    public void setUserType(int userType) {
        this.userType = userType;
    }

    public String getDevicecode() {
        return devicecode;
    }

    public void setDevicecode(String devicecode) {
        this.devicecode = devicecode;
    }
}
